package com.xh.bussiness.exam.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xh.core.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户错题本
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cp_user_error_question")
public class UserErrorQuestion extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 学科id
     */
    private String subjectId;

    /**
     * 年级id
     */
    private String gradeId;

    /**
     * 题目id
     */
    private String questionId;

    private Integer questionVersion;

    /**
     * 状态（0未掌握，1已掌握 ,2掌握一半）
     */
    private Integer status;

    private String questionSource;

    /**
     * 错误原因
     */
    private String errorReason;
    
    private String userId;

    /**
     * 1:学生拍的错题  2：老师拍的错题 3:老师自编 4:学生作业错题
     */
    private Integer sourceType;

    private String studentId;

    private String userAnswer;

    private Integer errorCount;
    
    private String imgPath;

    private String oldImgPath;

    private String classId;

    private String practiceId;

    /**
     * 课程类型 1:班课；2：小组课；3一对一
     **/
    private Integer LessonType;
}
